package com.item.mq.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author zhang-rongyao
 * @version V1.0
 * @Package com.item.model.config
 * @date 2021/7/26 14:19
 */

@Component
@PropertySource(value= "classpath:config/key.properties",encoding = "UTF-8")
@Data
public class KeyPairConfig {

    @Value("${zhx.Rsa.publicKey}")
    private String zhxPublicKey;

    @Value("${zhx.Rsa.privateKey}")
    private String zhxPrivateKey;

    @Value("${AAA.Rsa.publicKey}")
    private String aaaPublicKey;

    @Value("${AAA.Rsa.privateKey}")
    private String aaaPrivateKey;

}
